﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace TJ_MainNameSpace
{
    public partial class huamian_setting : Form
    {
        public huamian_setting()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            //global::TongJi_EMS.Properties.Settings.Default.draw1Name = this.textBox1.Text;
           
            //global::TongJi_EMS.Properties.Settings.Default.draw1 = this.textBox2.Text;


            //global::TongJi_EMS.Properties.Settings.Default.draw2Name = this.textBox3.Text;
            //global::TongJi_EMS.Properties.Settings.Default.draw2 = this.textBox4.Text;

            //global::TongJi_EMS.Properties.Settings.Default.draw3Name = this.textBox5.Text;
            //global::TongJi_EMS.Properties.Settings.Default.draw3 = this.textBox6.Text;


            global::TongJi_EMS.Properties.Settings.Default.Save();

            MainDesignForm a = new MainDesignForm();
            //a.rerush(this.textBox1.Text, this.textBox3.Text, this.textBox5.Text);
          
            this.Close();

        }

        private void huamian_setting_Load(object sender, EventArgs e)
        {
            //this.textBox1.Text = global::TongJi_EMS.Properties.Settings.Default.draw1Name;
            //this.textBox2.Text = global::TongJi_EMS.Properties.Settings.Default.draw1;

            //this.textBox3.Text = global::TongJi_EMS.Properties.Settings.Default.draw2Name;
            //this.textBox4.Text = global::TongJi_EMS.Properties.Settings.Default.draw2;

            //this.textBox5.Text = global::TongJi_EMS.Properties.Settings.Default.draw3Name;
            //this.textBox6.Text = global::TongJi_EMS.Properties.Settings.Default.draw3;
        }

       

    }
}